package com.situ.thymeleaf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/student")
public class StudentController {

    @RequestMapping("/search")
    public String search(Integer id, String name) {
        System.out.println("StudentController.search");
        System.out.println("id: " + id);
        System.out.println("name: " + name);
        return "index";
    }
}
